x86_emulate: Emit emulated forms of most FPU instructions as '.byte
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 4 Mar 2008 10:32:13 +0000 (10:32 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 4 Mar 2008 10:32:13 +0000 (10:32 +0000)
commit64e04a18cdf4fc2dc9488fe77557bcb4bc285210
treec84e9993b89510cb2c24fb473fcc94f2fb944d9c
parent6329505217200b2db99121de660f2eb5b1121be8
x86_emulate: Emit emulated forms of most FPU instructions as '.byte
xx,yy'. This is arguably clearer than using the mnemonic opcode, since
it is more clearly the instruction we have just decoded. Furthermore,
gas likes to reverse FPU operands on some two-operand FPU instructions
for historical reasons. Finally, 'byte xx,yy' is potentially more
amenable to further macro-isation down the road.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/x86_emulate.c